#include "../include/stu.h"
int findscore(int id)
{
	struct course *q = head2;
	while (q != NULL) {
		if (q->id == id) {
			return q->credit;
		}
		q = q->next;
	}
	return 0;
}
